#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2022/12/12 16:58
# @Author : 闫峰
# @File    : jdw_api.ept.seller.category.getSubCategoryByCategoryId.py
import json

from third_services.jdw.ept.api import get_result_bei



def jd_ept_seller_category_getSubCategoryByCategoryId(ordersourceid):
    """
    获取商家授权类目子类目信息
    """
    method = "jd.ept.seller.category.getSubCategoryByCategoryId"
    param = """
            {"parentId":1991,
            "lang":"CHINESE"}
            """
    print(get_result_bei(ordersourceid, method, param))
    print(json.dumps(get_result_bei(ordersourceid, method, param)))

if __name__ == '__main__':
    jd_ept_seller_category_getSubCategoryByCategoryId(16376)